using System;
using uk.co.tonyditchfield.tort.attributes;
using uk.co.tonyditchfield.tort.persistence;

namespace uk.co.tonyditchfield.tort.unittests.tort.objects
{
    [DBObject]
    public class Address
    {
        private int ident;
        [PrimeKey("addressid")]
        public int Ident
        {
            get { return ident; }
            set { ident = value; }
        }
        private String address1;
        [DBField("Addr1")]
        public String Address1
        {
            get { return address1; }
            set { address1 = value; }
        }
        private String address2;
        [DBField("Addr2")]
        public String Address2
        {
            get { return address2; }
            set { address2 = value; }
        }
    }
}
